#!/bin/bash
if [ ! -d bin ];then
    mkdir bin
fi
rm -rf bin
export GOOS=linux
export GOARCH=arm
go build -o bin/aliddns-arm
export GOARCH=arm64
go build -o bin/aliddns-arm64
export GOARCH=amd64
go build -o bin/aliddns-x86_64
